package com.xu.chapter01;

/**
 *
 * @author xudenghui
 * @create 2023-06-16 10:54
 **/
public class ConcreteDecoratorB extends Decorator{
    @Override
    public void Operation() {
        super.Operation();
        addedBeHavior();
        System.out.println("具体装饰对象B的操作");
    }

    private void addedBeHavior() {
        System.out.println("addedBeHavior方法");
    }
}
